package com.xuecheng.teaching.service;

import com.xuecheng.commons.model.dto.*;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.teaching.domain.CourseWorkRec;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itheima
 * @since 2022-08-13
 */
public interface CourseWorkRecService extends IService<CourseWorkRec> {

    //  作业提交记录[按照课程分组]
    ResponseResult workRecord(PageRequest request, WorkCommitDto workCommitDto);

    //  批改作业
    ResponseResult correction(WorkRecordDto dto);

}
